{% extends "base.html" %}

{% block title %}
留言
{% endblock %}

{% block leave %}
 active
{% endblock %}

{% block body %}
    <form action="{% url "leave" cid=us.id %}" method="post">
    {% csrf_token %}
        <table>
            <tr>
                <td>收件人</td>
                <td>{{ us.name }}</td>
            </tr>
            <tr>
                <td>留言内容</td>
                <td><textarea   cols="30" rows="10" name="text"></textarea></td>
            </tr>
            <tr>
                <td><input type="submit"></td>
                <td></td>
            </tr>
        </table>
    </form>
{% endblock %}